update device attribute

This block is part of the Home Automaton group and was last modified in core v13.0.8.

update device attribute v13.0.8

With this block you can update a attribute of an device.

In pins 4 + flow
  • flow
    flow
  • Connection required
    aqaraconnection

    An authenciated aqara connection

  • Device ID required
    value

    The device ID of the device you want to update.

  • Attribute resource ID required
    value

    The resource ID of the attribute you want to change.

  • New attribute value required
    value

    The new value of the given attribute.

Out pins 3 + flow
  • flow
    flow
  • Connection
    aqaraconnection

    The aqara connection.

  • Success
    condition

    If successful, this pin returns true.

  • Error
    value

    Error message if the attribute could not be updated.

A typical wiring for update device attribute: a function trigger starts the flow; open connection feeds the connection pin; the flow out pin feeds debug.

Studio canvas example for the update device attribute block: typical wiring for update device attribute.

Version history

Introduced in v13.0.8.


Back to Home Automaton Return to the main group to view all sub-groups Back to Aqara Return to the group to view all blocks within this group